//请求API
const api = {
    namespaced: true,
    state: {
        login:'auth/healthcard/login',
        getUser:'auth/healthcard/getUser',
        loginLogs:'auth/healthcard/tSystemLoginLq/loginLog',
        registerORG: "auth/healthcard/tOrganization/registerOrg",
        searchORG: "auth/healthcard/tOrganization/queryOrgPage",
        changeORG: "auth/healthcard/tOrganization/modifyOrg",
        logoutORG: "auth/healthcard/tOrganization/logout",
        getOrgDetail:"auth/healthcard/tOrganization/OrgDetail",
        getAllORGS:"auth/healthcard/selectAllOrg",
        homeMain:"auth/healthcard/main",
        homeMainUseCards:"auth/healthcard/mainUseCard",
        getRegisterUser:"auth/healthcard/tVirtualUserCard/selectAllUser",
        getUseCards:"auth/healthcard/uploadData/selectAllUser",
        dailyRegisterUser:"auth/healthcard/tVirtualUserCard/dailyRegisterUser",

    },
    getters: {
        login: state => state.login,//登录
        getUser: state => state.getUser,//获取用户信息
        loginLogs:state => state.loginLogs,//获取登录日志
        registerORG: state => state.registerORG,//注册机构
        searchORG: state => state.searchORG,//查询机构
        changeORG: state => state.changeORG,//修改机构
        logoutORG: state => state.logoutORG,//注销机构
        getOrgDetail: state => state.getOrgDetail,//获取机构明细
        getAllORGS: state => state.getAllORGS,//获取所有机构
        homeMain: state => state.homeMain,//获取首页的主要数据
        homeMainUseCards: state => state.homeMainUseCards,//获取首页的用卡数据
        getRegisterUser: state => state.getRegisterUser,//获取注册用户数据
        getUseCards: state => state.getUseCards,//获取用卡数据
        dailyRegisterUser: state => state.dailyRegisterUser,//按月每日注册数据
    }
}

export default api;